//    Copyright (C) Kherty.  All rights reserved.
using System.Runtime.InteropServices;

namespace OpenLS.UI.Interop
{
    [StructLayout(LayoutKind.Sequential)]
    public struct RECT
    {
        public int Left;
        public int Top;
        public int Right;
        public int Bottom;
        public RECT(int l, int t, int r, int b)
        {
            Left = l;
            Top = t;
            Right = r;
            Bottom = b;
        }
        public int Width { get { return Right - Left; } }
        public int Height { get { return Bottom - Top; } }
    }

}
